Skip to content

Conversation

@MarLoe
Copy link
Contributor

@MarLoe MarLoe commented Sep 2, 2025

When reading the value from a propertylist, the value is of base type PValueObject. When returning value.ToString() we get the type and not the actual value.
FIX: We check and cast to IPValueObject and return the actual value.

@mandel-macaque
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@mandel-macaque
Copy link
Contributor

/azp run xamarin-macios-pr

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

Copy link
Member

@rolfbjarne rolfbjarne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to get tests for this task as well? We don't seem to have any existing tests, but it should go in this directory: https://github.com/dotnet/macios/tree/main/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests

@rolfbjarne rolfbjarne self-assigned this Sep 3, 2025
@rolfbjarne rolfbjarne added the community Community contribution ❤ label Sep 3, 2025
@MarLoe
Copy link
Contributor Author

MarLoe commented Sep 4, 2025

Would it be possible to get tests for this task as well? We don't seem to have any existing tests, but it should go in this directory: https://github.com/dotnet/macios/tree/main/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests

Yes Sir - unit tests added

@MarLoe
Copy link
Contributor Author

MarLoe commented Sep 4, 2025

@dotnet-policy-service agree

@rolfbjarne rolfbjarne merged commit 10d57d7 into dotnet:main Sep 10, 2025
36 of 38 checks passed
@rolfbjarne
Copy link
Member

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Community contribution ❤

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants